//
//  CTVerificationView.h
//  ConstellationTalk_0.1
//
//  Created by riley on 15/4/20.
//  Copyright (c) 2015年 riley chu. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef enum {
    CTVerificationPageRegister =1,
    CTVerificationPageResetPassword
    
}CTVerificationPage;


@protocol CTVerificationViewDelegate;



@interface CTVerificationView : UIView

@property(nonatomic,assign)id<CTVerificationViewDelegate>delegate;
@property(nonatomic,assign,setter=setTitleView:)CTVerificationPage pageType;
@property(nonatomic,copy,setter=setText:)NSString * timerText;
@property(nonatomic,copy,setter=setAreaName:)NSString * areaName;
@property(nonatomic,copy,setter=setAreaCode:)NSString * areaCode;

@end


@protocol CTVerificationViewDelegate <NSObject>

-(void)verificationCodeAction:(CTVerificationView *)view;

-(void)verifyAction:(CTVerificationView *)view;

-(void) verificationViewPhoneTextFieldText:(NSString *)text  registerView:(CTVerificationView *) View;
-(void) verificationViewInputTextFieldText:(NSString *)text  registerView:(CTVerificationView *) View;

//更换国家按钮
-(void) verificationViewStateButton:(CTVerificationView *) registerView;
//返回按钮
-(void) verificationViewBackButton:(CTVerificationView *)registerView;
//用户协议
-(void) verificationProBtnAction:(CTVerificationView *)view;
@end